Fixes an issue with the PgArray converter and PgJson converter.

The `PgJson` converter doesn't escape the JSON string before insertion. It results in a bad SQL query when containing quote chars.

The `PgArray` converter uses the `str_getcsv` function in order to read into the array value. But the converter corrupts the csv by replacing the double escape (`\\`) too early.