docs: function debugPrintFlatScannedData(data, printer) {
          var pInfo = [
              'numConnectionTypes',
              'connectionTypeNames',
              'verifiedConnectionTypeNames',
              'connectionTypes',
              'unverifiedConnectionTypeNames',
          ];
  
          if(DEBUG_MARKING_ACTIVE_CONNECTION_TYPES) {
              pInfo.push('handle');
              pInfo.push('dt');
              pInfo.push('deviceType');
              pInfo.push('deviceTypeStr');
              pInfo.push('deviceTypeString');
              pInfo.push('deviceTypeName');
              pInfo.push('handleConnectionType');
              pInfo.push('handleConnectionTypeStr');
              pInfo.push('handleConnectionTypeName');
              pInfo.push('ct');
              pInfo.push('connectionType');
              pInfo.push('connectionTypeStr');
              pInfo.push('connectionTypeName');
              pInfo.push('serialNumber');
              pInfo.push('ip');
              pInfo.push('port');
              pInfo.push('maxBytesPerMB');
              pInfo.push('maxBytesPerMB');
              pInfo.push('isActive');
          }
          var pData = {};
          var keys = Object.keys(data);
          keys.forEach(function(key) {
              var dData = data[key];
              var dKeys = Object.keys(dData);
              pData[key] = {};
              var otherKeys = [];
              // loop through each available device.
              dKeys.forEach(function(dKey) {
                  // Save the requested key's info.
                  if(pInfo.indexOf(dKey) >= 0) {
                      pData[key][dKey] = dData[dKey];
                  } else {
                      otherKeys.push(dKey);
                  }
              });
              // pData[key].keys = otherKeys;
          });
          if(printer) {
              printer('Scanned Data', pData);
          } else {
              console.log('Scanned Data', pData);
          }
      }