Escape chars that fails JSON.stringify(JSON.parse()) in spidermonkey