[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.
I'm going to go ahead an merge this so we have the fix in 1.2, but is there a reason we aren't using a JSON library to build up JSON.  Doing it manually with string munging seems very error prone.