mod/reader fix function that should be a method in admin reports: get_table_names_and_aliases