add jsonlint and a function to verify package.json