Thanks for excellent implementation. One question: What's the best way to render the page after generating the JSON ?