Use new (de)serialization interfaces and some tweaks (for 1.0)
Merge pull request #4 from DataValues/usenewserialization

Use new (de)serialization interfaces and some tweaks (for 1.0)