An implementation similar to how [ndarray](https://github.com/rust-ndarray/ndarray) implements [serde](https://github.com/serde-rs/serde) for serialization and deserialization would be a useful feature to see.