private void addResult(Query q, String content, DocumentSourceSearcher docsource) {
        Result r = new Result(q);
        FastHit hit = new FastHit();
        hit.setId("http://abc.html");
        hit.setRelevance(new Relevance(1));
        hit.setField("jsonfield", new JSONString(content));
        r.hits().add(hit);
        docsource.addResult(q, r);
    }
Visit the trace and check JSON payload is stored there when requested.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/searcher/test/JSONDebugSearcherTestCase.java