fix a bug in get_columns: get_class_mebers returns a list of tuples and not a dict