don’t lose the `type` and `version` properties when stringified

The `type` and `version` properties of the `VirtualNode`, `VirtualText`and `VirtualPatch` objects are not serialized by `JSON.stringify()` making `vdom.patch()` fails when called with stringified-then-parsed patches.