Bug fix for serialization
0.2.2
Merge pull request #9 from AHPWN/dev

v0.2.2