public static String to_booleanString(String str) {
		if (str == null) return null;
		String[] trueValues = new String[] {"true","True","Yes","yes","1","-1","yep","supported"};
		String[] falseValues = new String[] {"false","no","False","No","0","nope","not supported","not_supported"};
		//ArrayList<String> trueValues = new ArrayList<String>();
		for (int i=0; i < trueValues.length; i++) {
			if (str.equals(trueValues[i])) return "1";
		}
		for (int i=0; i < falseValues.length; i++) {
			if (str.equals(falseValues[i])) return "0";
		}
		return null;
	}