index.js
function() {
				var doc = this;
				var newDoc = {};
				_.forEach(this, function(v, k) {
					if (doc.hasOwnProperty(k) && !_.startsWith(k, '$')) newDoc[k] = _.clone(v);
				});

				return newDoc;
			}
function() {
				var doc = this;
				var newDoc = {};
				_.forEach(this, function(v, k) {
					if (doc.hasOwnProperty(k) && !_.startsWith(k, '$')) newDoc[k] = _.clone(v);
				});

				return newDoc;
			}
function ( ) { var doc = this ; var newDoc = { } ; _ . forEach ( this , function ( v , k ) { if ( doc . hasOwnProperty ( k ) && ! _ . startsWith ( k , '$' ) ) newDoc [ k ] = _ . clone ( v ) ; } ) ; return newDoc ; }
Transform a MonoxideDocument into a plain JavaScript object
@return {Object} Plain JavaScript object with all special properties and other gunk removed
Transform a MonoxideDocument into a plain JavaScript object