Added system exits and allowed for parser to continue if it encounters a JSONException