separate serializers from serializer lib