It would be nice to be able to serialize/deserialize the types. It could be implemented as a feature flag, as many other crates do.