def METHOD_NAME(panels):
    panel_list = []
    for panel in panels:
        if panel['type'] == 'row':
            panel_list += METHOD_NAME(panel['panels'])
        else:
            # assume everything else is a panel
            # panel_list.append((panel['id'], panel['title'] + panel['description']))
            panel_list.append(panel)
    return panel_list