Semantic Gateway implementation to translate & transform messages into entities and vice versa