docs: public static String cleanupStr(String name, boolean allowDottedKeys) {
  		if (name == null) {
  			return null;
  		}
  		Pattern pattern;
  		if (!allowDottedKeys) {
  			pattern = DOT_SLASH_UNDERSCORE_PAT;
  		} else {
  			pattern = SLASH_UNDERSCORE_PAT;
  		}
  		String clean = pattern.matcher(name).replaceAll("_");
  		clean = SPACE_PAT.matcher(clean).replaceAll("");
  		clean = org.apache.commons.lang.StringUtils.chomp(clean, ".");
  		clean = org.apache.commons.lang.StringUtils.chomp(clean, "_");
  		return clean;
  	}