@property
def update(self):

    def swap_value(swap_item):
        result_dict = {}
        for (key, item) in swap_item.items():
            if isinstance(item, dict):
                operation = item.get('@op')
                if ((operation is not None) and (operation == 'SwapValue')):
                    result_dict[key] = item.get('@after')
                elif (operation is None):
                    result_dict[key] = swap_value(item)
        return result_dict
    return swap_value(self.content)
@property
def update(self):

    def swap_value(swap_item):
        result_dict = {}
        for (key, item) in swap_item.items():
            if isinstance(item, dict):
                operation = item.get('@op')
                if ((operation is not None) and (operation == 'SwapValue')):
                    result_dict[key] = item.get('@after')
                elif (operation is None):
                    result_dict[key] = swap_value(item)
        return result_dict
    return swap_value(self.content)