code: function getNames(agent, category, ids) {
      return _getNames(agent, category, ids).then(array => {
          let map = new Map();
          for (let n of array) {
              map.set(n.id, n.name);
          }
          return map;
      });
  }
docs: Look up the names of a set of ids, restricted to a particular name category.
  This utility function automatically splits large arrays of ids into lists of
  500 elements and then recombines the results. It also maps the response data
  from the internal ESI representation into a more useful Map from id to name.
  
  @param agent The agent making requests
  @param category The category of names to look up
  @param ids The list of ids to resolve, should not contain duplicates
  @returns Promise resolving to a Map from id to name