handleOntologyAnnotations should make a defensive copy