Added format to listTables()