boolean first = true;
for (ExecutionJobVertex groupVertex : graph.getAllVertices().values()) {
for (ExecutionVertex vertex : groupVertex.getTaskVertices()) {
Execution exec = vertex.getCurrentExecutionAttempt();
if(first) {
first = false;
} else {
wrt.write(","); }
wrt.write("\""+exec.getAttemptId() +"\": {");
wrt.write("\"vertexid\": \"" + exec.getAttemptId() + "\",");
wrt.write("\"vertexname\": \"" + vertex + "\",");
wrt.write("\"CREATED\": "+ vertex.getStateTimestamp(ExecutionState.CREATED) + ",");
wrt.write("\"SCHEDULED\": "+ vertex.getStateTimestamp(ExecutionState.SCHEDULED) + ",");
wrt.write("\"DEPLOYING\": "+ vertex.getStateTimestamp(ExecutionState.DEPLOYING) + ",");
wrt.write("\"RUNNING\": "+ vertex.getStateTimestamp(ExecutionState.RUNNING) + ",");