Serializer trait and default implementation.
Serializer implementations.
Serialization abstract with type to serialize.