escabe characters on encoding JSON