Add tests for a serialization module.

[ci skip]
Add basic serialization module.
Add failing tests for the serialization feature.

[ci skip]
Add serialization support.

Tests now pass. This closes #6.
Bump version to 1.6.0