return json object from checkJSON()