A simple serialization library