{"agent":"claude","input":"Add CORS to the JSON API in examples/serialization of this Rocket workspace. Read examples/Cargo.toml, examples/serialization/Cargo.toml, examples/serialization/src/main.rs, src/json.rs, src/tests.rs, examples/fairings/src/main.rs, examples/config/src/main.rs, examples/config/Rocket.toml and scripts/test.sh first. Write a cors.rs module with a CorsConfig struct, allowed_origins and max_age, read through AdHoc::config from a new Rocket.toml, and a Fairing on Kind::Response that sets Access-Control-Allow-Origin and Vary: Origin only for an exact origin match, plus Allow-Methods, Allow-Headers and Max-Age on preflight. Add an options route for /<_..> returning 204 mounted with the JSON routes. Do not use a wildcard origin and do not add a CORS crate. Add tests in src/tests.rs with the blocking Client for an allowed origin, a refused origin and a preflight. Run cargo test in examples/serialization and scripts/test.sh --examples, then open a pull request that lists the headers set and the configuration keys.","resources":[{"url":"https://github.com/your-org/your-app"}]}