private static String wrapResult(final String str) {
    StringWriter w = new StringWriter();
    synchronized (w.getBuffer()) {
      w.write("{\"result\":");
      w.write(str);
      w.write("}");
      return w.toString();
    }
  }
this is used by DistributedSystemBridge.queryData() call. It calls QueryDataFunction on each
member in the input
geode-core/src/main/java/org/apache/geode/management/internal/beans/DataQueryEngine.java