}
res.put("names", names);
//res.put("loads", loads);
for (Entry<String, JobStatus.JobInfo> e: jobStatus.jobDict.entrySet()) {
JobInfo info = e.getValue();
if (info.state != JobStatus.State.gathered) {
ArrayList<String> temp = new ArrayList<String>();
for (String name : names) {
boolean used = false;