add hexDec and more escaping