code: function getNotificationData(model, request) {
    const result = {};
    let missingData = false;
    const generationNumbers = [];
  
    request.variables.forEach((axes) => {
      const histograms = get(model, { axes });
      if (histograms && histograms.length) {
        if (!result[axes[0]]) {
          result[axes[0]] = {};
        }
        result[axes[0]][axes[1]] = histograms;
        histograms.forEach((hist) =>
          generationNumbers.push(hist.annotationInfo.annotationGeneration)
        );
      } else {
        missingData = true;
      }
    });
  
    // Prevent generation mix in result
    generationNumbers.sort();
    const generation = generationNumbers.shift();
    if (generationNumbers.length && generation !== generationNumbers.pop()) {
      return null;
    }
  
    result['##annotationGeneration##'] = generation;
  
    return missingData ? null : result;
  }
docs: ----------------------------------------------------------------------------