Use correct syntax for escapes

There is a bug in the test suite with JSON, where incorrect syntax is used for escapes causing the test suite to fail.