public String[][] getLocationJSON(){
		@SuppressWarnings("unchecked")
		ArrayList<String>[] temp = new ArrayList[4];
		for (int i = 0; i < temp.length; i++){
			temp[i] = new ArrayList<String>();
		}
		String time = "" + (System.currentTimeMillis() / 1000.0);
		for (AirNowDataSite site : dataSites){
			if (site.getLatitude() != 0 && site.getDataTypes().length != 0){
				temp[0].add(site.getId());
				temp[1].add(site.getName());
				temp[2].add("[\"Longitude\",\"Latitude\",\"Elevation\"]");
				temp[3].add("[[" + time + "," + site.getLongitude() + "," + site.getLatitude() + "," + site.getElevation() + "]]");
			}
		}		
		String[][] retArray = new String[temp.length][];
		for (int i = 0; i < retArray.length; i++){
			retArray[i] = temp[i].toArray(new String[]{});
		}
		return retArray;
	}