export default class Message {
  constructor(data) {
    this.data = data;
    this.subject = this.constructor.name;
  }
}

@@ -55,20 +55,20 @@
    this.
-data
+body
  = data;

rename data to body in message