code: public function getData($origin)
      {
          return array_reduce(
              $this->structure->getChildren(),
              function ($acc, $childDef) {
                  return array_merge($acc, array($childDef['name'] => $childDef['name']));
              },
              $this->getMetadataValues()
          );
      }
docs: Get placeholder substitutions from origin
  
  @param mixed $origin original data or identifier to fetch strings
  
  @return array Placeholders to data strings map