map.put("documents", documentMap);
Map<String, Object> stageMap = new HashMap<String, Object>();
map.put("groups", stageMap);
PipelineReader pipelineReader = databaseConnector.getPipelineReader();
stageMap.put("active", scanner.getStageConfigMap(pipelineReader.getPipeline()));
stageMap.put("debug", scanner.getStageConfigMap(pipelineReader.getDebugPipeline()));
return map;
}