Switch to hex encoding for key values