Handle InvalidJsonResponseError in decorators