Fix the get-ontology API