def METHOD_NAME(node, parent_node=None):
    if node.is_collector:
        if node.nodegroup.cardinality == "1":
            obj = {}
            for decendant_node in self.get_direct_decendent_nodes(node):
                obj[decendant_node.name] = METHOD_NAME(decendant_node, node)
            setup_blank_setting(node.name, obj)
        if node.nodegroup.cardinality == "n":
            setup_blank_setting(node.name, [])
        return getattr(self, node.name)
    if parent_node is not None:
        setup_blank_setting(node.name, None)