Custom Template external json integration

In EditPage/CustomTemplate I would like to get extended caption and field notes from a json.
How can I do this?
Where can i read the json and what code can i use in the custom template to get it?

e.g.

{
  "customers": {
    "CustomerID": {
      "ExtFldCaption": "ID of the customer",
      "ExtCustomMsg": "<b>ID</b> is the reference on your ERP"
    },
    "CustType": {
      "ExtFldCaption": "National o foreign customer",
      "ExtCustomMsg": "Fill to specify if the customer is from strange country"
    },
    "CustCountry": {
      "ExtFldCaption": "The nation where the customer come from",
      "ExtCustomMsg": "It's important to fill thies field, because the procedure needs it for statistic purposes"
    },
etc.
    },

and this is the piece of code I would like to use

<div class="container">
    <div id="r_CustomerID" class="row">
        <div class="col-sm-2 fw-bold p-2" title="{{{ExtCustomMsg CustType}}}">{{{caption CustomerID}}}<br/>
{{{ExtFldCaption CustomerID}}}
</div>
        <div class="col-sm-10 p-2">{{{value CustomerID}}}</div>
    </div>
    <div id="r_CustType" class="row">
        <div class="col-sm-2 fw-bold p-2" title="{{{ExtCustomMsg CustType}}}">{{{caption CustType}}}<br/>
{{{ExtFldCaption CustType}}}
</div>
        <div class="col-sm-10 p-2" title="{{{ExtCustomMsg CustType}}}">{{{value CustType}}}</div>
    </div>
    <div id="r_CustCountry" class="row">
        <div class="col-sm-2 fw-bold p-2" title="{{{ExtCustomMsg CustCountry}}}">{{{caption CustCountry}}}<br/>
{{{ExtFldCaption CustCountry}}}
</div>
        <div class="col-sm-10 p-2">{{{value CustCountry}}}</div>
    </div>
</div>

There is no “ExtFldCaption” and “ExtCustomMsg” in project (there is “CustomMsg” though), where are they from?

I know that. It’s just an example. I need to get that values from a json in some way.
It would be nice to manage custom fields in the project, but without that I would like to read the values from a json.