diff --git a/angular-loggly-logger.js b/angular-loggly-logger.js
index <HASH>..<HASH> 100644
--- a/angular-loggly-logger.js
+++ b/angular-loggly-logger.js
@@ -168,7 +168,7 @@
               }
               else if(angular.isObject(msg)){
                 //handling JSON objects
-                sending.messageObj = msg;
+                sending = angular.extend({}, msg, sending);
               }
               else{
                 //sending plain text
Removed messageObj field

Removed messageObj field for the custom object and extended custom json
object fields to the parent json.