It would be good to have a few benchmarks for decoding types from JSON, perhaps taking inspiration from resolver::tests::should_get_types_from_json and other slow/heavy duty tests. Ideally we should run the benches in CI and store the results to check for regressions (fine to do in separate PRs though).