change the table type keys to type names