// ByteArrayOutputStream out = new ByteArrayOutputStream();
// o.getOWLOntologyManager().saveOntology(o, new ManchesterOWLSyntaxOntologyFormat(), out);
return Response.ok(new Viewable("ontology",
// new OntologyPrettyPrintResource(servletContext,
// uriInfo, out)
new OntologyStatsResource(servletContext, uriInfo, key, o, ontologyProvider.listAliases(key),
handles)));
// } catch (OWLOntologyStorageException e) {
// throw new WebApplicationException(e, INTERNAL_SERVER_ERROR);
// }
}