private Object convertString(Inspector value) {
        if (value.valid()) {
            return new JSONString(value);
        } else {
            return new JSONString("");
        }
    }
A hit field containing JSON structured data
container-search/src/main/java/com/yahoo/prelude/fastsearch/StructDataField.java