String str;
while ((str = in.readLine()) != null) {
sw.append(str);
}
WorkflowSchemeImportExportObject importer = mapper.readValue((String) sw.toString(), WorkflowSchemeImportExportObject.class);
for (WorkflowScheme scheme : importer.getSchemes()) {
wapi.saveScheme(scheme);
}
for (WorkflowStep step : importer.getSteps()) {