Different serialization and deserialization methods one can use
A trait to bundle serializer and deserializer in a simple struct