adding a JSON linter to give better errors on syntax errors
reworking the json error message handling
registering jsonlint as a class