new BELDocumentConverter().convert(result.getDocument());
final org.openbel.framework.common.xbel.converters.DocumentConverter converter =
new org.openbel.framework.common.xbel.converters.DocumentConverter();
new XBELConverter().marshal(converter.convert(bel), output);
} catch (JAXBException ex) {
close(output);
bailOnException(ex);
} catch (IOException ex) {