#28 - created factory serializer