Generate serializer for repo data