Implementation using map of json raw messages.