How to enable secure DNS Over HTTPS policy on Google Chrome with JSON format on Ubuntu?

I have installed the latest version of Google Chrome on Ubuntu.

Here is a link for reference:
https://geekrewind.com/how-to-enable-secure-dns-in-google-chrome/

But the above link only explains how to change the DNS provider from the Google Chrome UI. It doesn’t explain how to set it from JSON policy file.

I want to use JSON policy file to manage the Google Chrome on Ubuntu.

But I don’t know how to set the following JSON policy values:

{  
  "DnsOverHttpsMode": "secure",  
  "DnsOverHttpsTemplates": ""  
}  

How to set the DnsOverHttpsTemplates for making Google Chrome to use one of the following DNS providers?

  1. OS default (when available).
  2. Add custom DNS service provider.
  3. Google (Public DNS).
  4. OpenDNS.
  5. CleanBrowsing (Family Filter).
  6. Cloudflare (1.1.1.1).
  7. NextDNS.