docs: function pageArrayFromDict (pageDict) {
    if (pageDict.id) {
      // the page is already translated, so wrap in an array and pass back
      return [pageDict];
    }
    let newPageArray = [];
    for (const dict of _.values(pageDict)) {
      // count only WIRTypeWeb pages and ignore all others (WIRTypeJavaScript etc)
      if (_.isUndefined(dict.WIRTypeKey) || dict.WIRTypeKey === 'WIRTypeWeb') {
        newPageArray.push({
          id: dict.WIRPageIdentifierKey,
          title: dict.WIRTitleKey,
          url: dict.WIRURLKey,
          isKey: !_.isUndefined(dict.WIRConnectionIdentifierKey),
        });
      }
    }
    return newPageArray;
  }