[SNEAKER-52] Implement JSON parsing and serialization/deserialization