move serializers into main project