convert to using OntologyUtils in UploadArtifactResourceImpl