start writing basic serializer