IDESessionModel model = cache.getModel(s);
// if no 1 sec delay
Thread.sleep(200);
model.refresh();
JSONObject rootNode = model.getTree().getJSONObject("tree");
JSONToXMLConverter conv = new JSONToXMLConverter(rootNode);
JSONObject jsTreeObject = createFrom(rootNode, conv.asXML());
return new JSONView(jsTreeObject);
}