The serializer is in its own class