docs: private static Map<String, Object> sessionData(String sid, StatsStorage ss) {
          Map<String, Object> dataThisSession = new HashMap<>();
          List<String> workerIDs = ss.listWorkerIDsForSessionAndType(sid, StatsListener.TYPE_ID);
          int workerCount = (workerIDs == null ? 0 : workerIDs.size());
          List<Persistable> staticInfo = ss.getAllStaticInfos(sid, StatsListener.TYPE_ID);
          long initTime = Long.MAX_VALUE;
          if (staticInfo != null) {
              for (Persistable p : staticInfo) {
                  initTime = Math.min(p.getTimeStamp(), initTime);
              }
          }
  
          long lastUpdateTime = Long.MIN_VALUE;
          List<Persistable> lastUpdatesAllWorkers = ss.getLatestUpdateAllWorkers(sid, StatsListener.TYPE_ID);
          for (Persistable p : lastUpdatesAllWorkers) {
              lastUpdateTime = Math.max(lastUpdateTime, p.getTimeStamp());
          }
  
          dataThisSession.put("numWorkers", workerCount);
          dataThisSession.put("initTime", initTime == Long.MAX_VALUE ? "" : initTime);
          dataThisSession.put("lastUpdate", lastUpdateTime == Long.MIN_VALUE ? "" : lastUpdateTime);
  
          // add hashmap of workers
          if (workerCount > 0) {
              dataThisSession.put("workers", workerIDs);
          }
  
          //Model info: type, # layers, # params...
          if (staticInfo != null && !staticInfo.isEmpty()) {
              StatsInitializationReport sr = (StatsInitializationReport) staticInfo.get(0);
              String modelClassName = sr.getModelClassName();
              if (modelClassName.endsWith("MultiLayerNetwork")) {
                  modelClassName = "MultiLayerNetwork";
              } else if (modelClassName.endsWith("ComputationGraph")) {
                  modelClassName = "ComputationGraph";
              }
              int numLayers = sr.getModelNumLayers();
              long numParams = sr.getModelNumParams();
  
              dataThisSession.put("modelType", modelClassName);
              dataThisSession.put("numLayers", numLayers);
              dataThisSession.put("numParams", numParams);
          } else {
              dataThisSession.put("modelType", "");
              dataThisSession.put("numLayers", "");
              dataThisSession.put("numParams", "");
          }
          return dataThisSession;
      }