Api not returning task variable value

Hi there,

Using the task/{taksid}/variables/{varName} endpoint does not return my value.
It is a json string that looks like this:

But when I retrieve it via the API all I get is:

I tried adding the deserializeValue to true but no change in the response. Have I done something wrong?

Thanks,
Rob

Looking in Cockpit it uses a variable-instance call, but that for me returns the same value style, rather than the string itself.

Like so:

I had missed that deserialize had to be false of course.

Thanks,
Rob