docs: function getKeyPropertyNames(context) {
    const keyPropertyNames = context.streamProcessing.keyPropertyNames;
    return Array.isArray(keyPropertyNames) ? keyPropertyNames :
      typeof keyPropertyNames === 'string' ? toPropertyNamesArray(keyPropertyNames) : [];
  }