failing test for json encoding

i think this should work (it's a copy of the `replicate.js` test but with db `valueEncoding` set to `json`). the error is `[EncodingError: Unexpected token o]`. not sure what's mangling the encoding internally. didn't we address this issue once before?