docs: function getAllValuesToRank(item, keys) {
    return keys.reduce((allVals, key) => {
      const values = getItemValues(item, key)
      if (values) {
        values.forEach(itemValue => {
          allVals.push({
            itemValue,
            attributes: getKeyAttributes(key),
          })
        })
      }
      return allVals
    }, [])
  }