code: function(current, next, exclude){
     var di = diff(current, next);
     var diffs = di ? di.map(function(i){
        var str = JSON.stringify(i).replace("\"__data\",", "");
        return JSON.parse(str);
     }).filter(function(i){
        return i.path.join(",").indexOf("_") === -1;
     }).filter(function(i){
        return exclude.every(function(x){return i.path.indexOf(x) === -1; });
     }) : [];
     if(diffs.length > 0){
        return diffs;
     }
     else{
        return null;
     }
  }
docs: Helper: Get differences between objects