Add checking of JSON parser
Remove checking of JSON parser because it only shows an error is not json