0.1.3
fixed toJSON and patching to work on any object target