return new IDiagramMarshaller() {
public String parseModel(String jsonModel, String preProcessingData) {
EpnJsonUnmarshaller unmarshaller = new EpnJsonUnmarshaller();
Object def; //TODO will be replaced with the epn ecore model class (definitions)
try {
def = unmarshaller.unmarshall(jsonModel);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
//TODO do something now with the model (save it!);
return outputStream.toString();
} catch (JsonParseException e) {
_logger.error(e.getMessage(), e);