for clarity: Instant SQL won't automatically run queries that write or delete data or metadata. It only runs queries that read data.
And this is a happy coincidence that json_serialize_sql doesn't work with anything but select queries