Converting typed key to string