Implementing conversion of MapMessages