version-aware implementation for deserialize and deserializeRT in order ...

...to support v3.0