Adding custom data to the node object I have created a content type called providers and when editting said content types users can fill in extra information related to the content.
I have included said form fields using hook_form_alter, and the appropriate hook for _submit applied with it all working fine (saving to db etc)
Where I am stuck is I can access the data, by loading it via hook_ENTITY_TYPE_load call which allows me to access it in _form_alter but for some reason when viewing the node, I do not see the data.
Is there a specific way of loading external data on top of node object in d8?
below is how i load the data.
    /**
     * Implements hook_ENTITY_TYPE_load($entities)
     */
    function remittance_providers_node_load(array &amp;$entities) {
      //loop thorough the loaded entities
      foreach ($entities as $key =&gt; $entity) {
        // if provider node type is being loaded add our data on top of it.
        if ($entity-&gt;bundle() == 'providers') {
          $nid = $entity-&gt;id();
          $commission_data = currencyStorage::loadCommission(array(&quot;companyID&quot;=&gt;$nid));
          if(count($commission_data)&gt;0){
            foreach ($commission_data as $ckey =&gt; $comm) {
              $entities[$key]-&gt;commission[$ckey]['amount_from'] = $comm-&gt;amount_from;
              $entities[$key]-&gt;commission[$ckey]['amount_to'] = $comm-&gt;amount_to;
              $entities[$key]-&gt;commission[$ckey]['commission'] = $comm-&gt;commission;
            }
          }
        }
      }
    }

I have installed devel and checked all its phases and I dont see it in there.
I have found preceding value array with [x-default] shows the values.
I presume this has to do with the translation module

function remittance_providers_node_load(array &amp;$entities) {
  //loop thorough the loaded entities
  foreach ($entities as $key =&gt; $entity) {
    // if provider node type is being loaded add our data on top of it.
    if ($entity-&gt;bundle() == 'providers') {
      $nid = $entity-&gt;id();
      $commission_data = currencyStorage::loadCommission(array("companyID"=&gt;$nid));
      if(count($commission_data)&gt;0){
        foreach ($commission_data as $ckey =&gt; $comm) {
          $entities[$key]-&gt;commission['x-default'][$ckey]['amount_from'] = $comm-&gt;amount_from;
          $entities[$key]-&gt;commission['x-default'][$ckey]['amount_to'] = $comm-&gt;amount_to;
          $entities[$key]-&gt;commission['x-default'][$ckey]['commission'] = $comm-&gt;commission;
        }
      }
    }
  }
}