Added serializers for map event and messages