feat: serializer for portkey