ProblemSerializer
The JSON codec for Problem, and Problem's own serializer.
Emits the canonical serialization of application/problem+json, with §3.2 extension members written as siblings of the §3.1 standard ones. Reading follows §3's tolerance rules.
Being the type's own serializer is a correctness requirement. An application that already registered a plain json() converter would otherwise win the match for application/json and silently emit {"extensions": {...}}, nested and invalid per the RFC. Attached to the type, that same path produces identical bytes to this one.