change serializer interface