fix deserializeJson/Bson

deserializeJson/Bson is still broken for aggregates with custom toXXX and fromXXX.
Reason is undefined symbol ***value***. Because of this, expression ***is(typeof(value.toXXX()) == XXX)*** is always false.

P.S. Also my Sublime Text removes some whitespaces. Sorry.