public static LinkedHashMap<String,Object> array_change_key_case(Map<String,Object> hm, String upperLower) {
		LinkedHashMap<String,Object> output = new LinkedHashMap<String,Object>();
		if (hm == null) return output;
		if (upperLower == null) upperLower = "LOWER";
		for (Map.Entry<String,Object> entry : hm.entrySet()) {
			String key = (String) entry.getKey(); 
			Object value = (Object) entry.getValue();
			if (key == null) {
				output.put(key, value);
			} else if (upperLower.equals("LOWER")) {
				output.put(key.toLowerCase(),value);
			} else {
				output.put(key.toUpperCase(),value);
			}
		}
		return output;
	}