$message.getBody() returns an Event object with a data property of type Map.