code: def receive_fmf_metadata(name, path, object_list=False):
      output = {}
      fmf_tree = ExtendedTree(path)
      logger.debug("get FMF metadata for test (path:%s name=%s)", path, name)
      items = [x for x in fmf_tree.climb() if x.name.endswith("/" + name) and "@" not in x.name]
      if object_list:
          return items
      if len(items) == 1:
          output = items[0]
      elif len(items) > 1:
          raise Exception("There is more FMF test metadata for item by name:{}({}) {}".format(
              name, len(items), [x.name for x in items]))
      elif not items:
          raise Exception("Unable to get FMF metadata for: {}".format(name))
      return output