code: public ModelNode asResource(ModelNode baseAddress, String... args) {
  
          assert getNumWildCards() ==args.length :
                  "Address arguments don't match number of wildcards: "+getNumWildCards()+" -> "+ Arrays.toString(args);
  
          ModelNode model = new ModelNode();
          model.get(ADDRESS).set(baseAddress);
  
          int argsCounter = 0;
          for(String[] tuple : address)
          {
              String parent = tuple[0];
              String child = tuple[1];
  
              if(parent.startsWith("{"))
              {
                  parent = args[argsCounter];
                  argsCounter++;
              }
  
              if(child.startsWith("{"))
              {
                  child = args[argsCounter];
                  argsCounter++;
              }
  
              model.get(ADDRESS).add(parent, child);
          }
  
          return model;
      }
docs: Turns this address into a ModelNode with an address property.<br/>
  This method allows to specify a base address prefix (i.e server vs. domain addressing).
  
  @param baseAddress
  @param args parameters for address wildcards
  @return a ModelNode with an address property