If :prop:serialized is True, @obj will be serialized
            using :prop:serializer

def _dumps(self, obj):
        """ If :prop:serialized is True, @obj will be serialized
            using :prop:serializer
        """
        if not self.serialized:
            return obj
        return self.serializer.dumps(obj)