private static JSONObject dicToJson(Dictionary<String ,Integer> dic) {
		
		if (dic == null) {
			return  null;
		}
		
		JSONObject json = new JSONObject();
		Set<String> set = ( (Hashtable<String, Integer>) dic).keySet();
		for (String key : set) {
			json.put(key, dic.get(key));
		}
		return json;
	}