public static String getDefMd5FromRequest(String defMd5, List<String> defContent) {
        if ((defMd5 == null || defMd5.isEmpty()) && defContent != null) {
            return ConfigUtils.getDefMd5(defContent);
        } else {
            return defMd5;
        }
    }
Escapes a config value according to the cfg format.

@param input the string to escape
@return the escaped string
config/src/main/java/com/yahoo/vespa/config/util/ConfigUtils.java