Supabase json column update how to prevent escaping json as string

Updating a supabase json column results in an escaped string value.

Is this the expected behavior – if so, how can this be prevented – as it should be a json object not a string?