public IExportWriter writeApiDefinition(InputStream is) {
        try {
            jg.writeBinaryField(OrgElementsEnum.ApiDefinition.name(), IOUtils.toByteArray(is));
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return this;
    }
@see io.apiman.manager.api.exportimport.write.IExportWriter#endApiPolicies()
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/json/JsonExportWriter.java