Making sure json_last_error does not break helper for versions lower than 5.3