- Initial code for Serializer class