change escaped values to hex