title: pretty print json directly in page from Express
body: <p>I'd like to pretty print a large javascript object in my browser window using Express. I've tried res.json() and res.send() with pretty print turned on in express, but it looks like that only works for html and not objects. The response is only the javascript object which is all I need so I'm trying to avoid building an html / jade, capturing the response and using json.stringify(). Is there a way to make the server respond with a nicely formatted object?</p>