def listing(output_lines):
 items = []
 table_ = table(output_lines)
 for row in table_['values']:
  item = {}
  for (col_idx, col_key) in enumerate(table_['headers']):
   item[col_key] = row[col_idx]
  items.append(item)
 return items

def listing ( output_lines ) : items = [ ] table_ = table ( output_lines ) for row in table_ [ 'values' ] : item = { } for ( col_idx , col_key ) in enumerate ( table_ [ 'headers' ] ) : item [ col_key ] = row [ col_idx ] items . append ( item ) return items
return list of dicts with basic item info parsed from cli output .