adds serialization/deserialization logic
serialization coding started