changed deserialisation method.
Merge remote-tracking branch 'upstream/dev-branch' into dev-branch

* upstream/dev-branch:
Merge pull request #955 from anilgooru/dev-branch

changed deserialisation method.