Bpmn2JsonUnmarshaller unmarshaller = new Bpmn2JsonUnmarshaller();
Definitions def = ((Definitions) unmarshaller.unmarshall(json, preprocessingData).getContents().get(0));
Path myPath = vfsServices.get( uuid );
TaskFormTemplateManager templateManager = new TaskFormTemplateManager( myPath, formModelerService, profile, processAsset, getServletContext().getRealPath(DESIGNER_PATH + TASKFORMS_PATH), def, taskId );
templateManager.processTemplates();
//storeInRepository(templateManager, processAsset.getAssetLocation(), repository);
//displayResponse( templateManager, resp, profile );
resp.setContentType("application/json");
resp.getWriter().write(storeInRepository(templateManager, processAsset.getAssetLocation(), repository).toString());