convert key values with special characters into a more readable format