Convert simple list to table.