Do not use CGI.escapeHTML in pretty_hash_json.