@staticmethod
def _get_all_parent_nodes_nested(path, delimiter='/'):
    """Get path to all parent nodes for current leaf, starting from root down to leaf's direct parent, and return only the relative key (not the fullkey)"""
    pos = path.find(delimiter)
    lastpos = 0
    while pos != -1:
        yield path[lastpos:pos]
        lastpos = pos + 1
        pos = path.find(delimiter, pos + 1)
