Returns 503 for JSON response as well.