def serialize(self, obj):
        if self._property is None:
            return obj
        else:
            return {k: self._property.serialize(e)