def facet_by_license(arr)
      arr.map do |hsh|
        {
          "id" => hsh["key"],
          "title" => LICENSES[hsh["key"]] || hsh["key"],