json does in-place string decoding
make sure json tests use the same data