default String toJson() {
        return writeJson(new StringBuilder()).toString();
    }
Convenience method equivalent to
writeJson(new StringBuilder()).toString()

@return a String containing JSON representation of this object's data
container-search/src/main/java/com/yahoo/data/JsonProducer.java