Once that script is kicked off it can get the current body of the page (the JSON) and replace it with html with:
JSON.parse(document.body.innerText);
document.body.innerText=""
etc...