def METHOD_NAME(node: Any):
    if isinstance(node, dict):
        for key in list(node.keys()):
            if key in _SKIP:
                node.pop(key)
                continue
            _patch_node_properties(key, node)
            # recursive
            if key in node:  # key could have been removed in _patch_node_properties
                METHOD_NAME(node[key])
    elif isinstance(node, list):
        for value in node:
            # recursive
            METHOD_NAME(value)