Make code more consistent & idiomatic

* Use a consistent json-mode- prefix for all identifiers
* Allow prefix argument with beautify command
* Remove unnecessary declaration of hook variable