A simple schema-based serialization and deserialization library