Change key variables from key representation to string.