I recall seeing something that claimed all JSON is syntactically valid JavaScript. If that's correct, shouldn't it be possible to use JS code formatting engines to intelligently format JSON?
JSON.stringify(JSON.parse(require('fs').readfileSync('myfile.json')),null,2);