public String getValuePossiblyQuote (String name) {
        String tmp =  values.get(name);
        if (tmp == null) {
            return "";
        }

        Matcher m = whitespace.matcher(tmp);
        if (m.find()) {
            return new StringBuffer(tmp.length() + 2)
                .append("\"")
                .append(tmp)
                .append("\"")
                .toString();
        }

        return tmp;
    }
Convenience method which returns a property.  If the
property contains whitespace the property will be
enclosed in quotes.

FIXME: quotes inside the value are not quoted
vespalog/src/main/java/com/yahoo/log/event/Event.java