Changed MessageObject to be an Object

I have changed MessageObject from string to Object in order to make properties on the logged object searchable.