making table discovery process convert to db safe names