Fixed premature conversion to string, which would cause JSON arrays and objects to be re-serialized on deserialization