refactored into serializer class