remove serializer dependency