Send correct `Content-Type` header in action.php