fix serializer interface signature