assert_return test cases like (assert_return (invoke "i-to-s16" (u32.const 0xffffffff)) (s16.const -1)) fail with an error like error: cannot serialize tagged newtype variant ComponentConst::U32 containing a string
I think https://github.com/bytecodealliance/wasm-tools/blob/main/crates/json-from-wast/src/lib.rs#L563 just needs to be changed to #[serde(tag = "type", content = "value",rename_all = "lowercase")] - seems to work locally anyway, but I'm pretty unfamiliar with Rust and serde