code: function concatenateAllValuesForExtendeds (map) {
    let res = []
    Object.keys(map).forEach(function (key) {
      res = res.concat(map[key][1])
    })
    return res
  }
docs: extendeds are different; their values are an array of [type, names]