Changes expected key output to hex