created Serializer factory