I've been using a library called prettyprint.js for quite some time that basically does the same thing but a bit prettier and from what I remember is basically a port of sorts of Coldfusion's cfdump: https://github.com/padolsey/prettyPrint.js
I've used this library recently to help the QA's better understand a JSON API's output.
I've used this library recently to help the QA's better understand a JSON API's output.