String str = null;
RootNode rootNode = SnippetFactory.getJsSnippets(getServletContext(), request);
if (unid != null && unid.length() > 0) {
VFSFile rootFile = SnippetFactory.getJsRootFile(getServletContext());
JSSnippet snippet = (JSSnippet) rootNode.loadAsset(rootFile, unid);
if (snippet == null) {
service400(request, response, "Invalid unid: {0}", unid);
return;
}
if (FORMAT_JSON.equals(format)) {