It would be nice it was possible to customize what kind of serializer is used. Currently it's hard-coded to rmp-serde (messagepack with struct maps) on native and serde_json on wasm.