Ontology mediated message transformations