stix, claude: open Json.Codec for codec-heavy files
Add [open Json.Codec] at the top of files where codec combinators
dominate (stix.ml has 114 refs, claude/control/message/hooks/permissions
40-110 each). Strips the [Json.Codec.] prefix from [Object.map], [string],
[int], [bool], [list], [option], etc. — matching the spec skill's
[let open Foo.Codec in ...] recommendation applied at file scope.
Also: Json.to_string now returns plain string (not result), so collapse
the stale [match Json.to_string with | Ok s -> ... | Error _ -> ...]
patterns to direct [let s = Json.to_string ... in] use.