Database & REST interface modifications for ontology annotations