Check for existence of json_last_error