[SQL] When re-constructing JSON objects or arrays, string values should be quoted.

When there is a type conflict and we need to re-construct JSON objects or arrays, we need to quote string values.