using jsonlint for better json error reporting