Set the `Accept` header to allow JSON responses