Serializer pattern, Serializer Pattern