fix tab printing count
upd generality, allow nested lists, retain all keys for colums