Added jshint2 submodule and added JSON formatting function.