Fixed a long-standing bug in `json_escape` that strips quotation marks