Both case expressions dispatching on the negotiated format now
fall back to the transit encoding/format when an unexpected value
shows up, instead of silently returning nil.
Add direct unit tests for app.http.content-negotiation/negotiate-format
covering the Accept header, the _fmt=json query parameter precedence,
and the transit fallback when no explicit signal is present.
AI-assisted-by: glm-5.3-flash