PERF-8 Use jQuery-provided JSON operations to have IE7 compatibility.