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