Preserve response status if it exists in json exception.