change string encoding in jmacro to use escape sequences instead of utf8