def METHOD_NAME(
    self, depth: int = -1, formatted: bool = True, get_node: bool = False
) -> Union[JSON, INode[JSON, SUB_JSON, JSON]]:
    if get_node:
        return self
    children = self.build()
    if depth == 0:
        return {}
    return {
        name: node.get(depth=depth - 1, expanded=True, formatted=formatted) if depth != 1 else {}
        for name, node in children.items()
    }