code: private void writeJsonForJobs(PrintWriter wrt, List<RecentJobEvent> jobs) {
  		
  		try {
  		
  			wrt.write("[");
  			
  			// Loop Jobs
  			for (int i = 0; i < jobs.size(); i++) {
  				RecentJobEvent jobEvent = jobs.get(i);
  	
  				writeJsonForJob(wrt, jobEvent);
  	
  				//Write seperator between json objects
  				if(i != jobs.size() - 1) {
  					wrt.write(",");
  				}
  			}
  			wrt.write("]");
  		
  		} catch (EofException eof) { // Connection closed by client
  			LOG.info("Info server for jobmanager: Connection closed by client, EofException");
  		} catch (IOException ioe) { // Connection closed by client	
  			LOG.info("Info server for jobmanager: Connection closed by client, IOException");
  		} 
  		
  	}
docs: Writes ManagementGraph as Json for all recent jobs
  
  @param wrt
  @param jobs