fix object structure

The structure of the object that is handled on the "onMessageReceived" event changed. Thus breaking the adapter when a user sent a message in jabbr.  These changes should fix the problem.