def get_node(cur_node, name):
    """Fetch a node from an existing node, return None if not found"""
    for c in cur_node['children']:
        if c['name'] == name:
            return c
    return None