private ApacheServer parseApacheServer(JSONObject apacheServerJson) {
		ApacheServer apacheServer = new ApacheServer(
				(String) apacheServerJson.get(Config.APACHE_URL), 
				(String) apacheServerJson.get(Config.METRIC_PATH));
		
		// By Default, we pass all values as true.
		// So they all get set to true by default
		apacheServer.setAllReportingValues(true);
		
		Object tmp = apacheServerJson.get(Config.TOTAL_ACCESSES);
		if(tmp != null) {
			apacheServer.setReportTotalAccesses((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.TOTAL_KBYTES);
		if(tmp != null) {
			apacheServer.setReportTotalkBytes((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.CPU_LOAD);
		if(tmp != null) {
			apacheServer.setReportCpuLoad((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.UPTIME);
		if(tmp != null) {
			apacheServer.setReportUptime((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.REQ_PER_SEC);
		if(tmp != null) {
			apacheServer.setReportReqPerSec((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.BYTES_PER_SEC);
		if(tmp != null) {
			apacheServer.setReportBytesPerSec((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.BYTES_PER_REQ);
		if(tmp != null) {
			apacheServer.setReportBytesPerReq((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.BUSY_WORKERS);
		if(tmp != null) {
			apacheServer.setReportBusyWorkers((Boolean) tmp);
		}
		
		tmp = apacheServerJson.get(Config.IDLE_WORKERS);
		if(tmp != null) {
			apacheServer.setReportIdleWorkers((Boolean) tmp);
		}
		
		return apacheServer;
	}