I've attached a rebased set of patches. The previous set no longer applied.
David
v3-0001-Add-len-parameter-to-escape_json.patch
Description: Binary data
v3-0002-Use-SIMD-processing-for-escape_json.patch
Description: Binary data
v3-0003-Special-case-text-type-conversion-in-datum_to_jso.patch
Description: Binary data