code: function toMessage(id, name) {
              return {
                  method: {
                      id: id,
                      name: name,
                      args: Array.prototype.slice.call(arguments, 2)
                  }
              };
          }
docs: Method mapping the method call on the event aggregator to a message which can be posted
  @param {String} id - the id for the call
  @param {String} name - the name of the method
  optional additional method arguments
  @returns {Object} the mapped method