irmin: migrate json/oci backends to new Json.Value API
Use the infallible Json.Value.to_string and Json.Value.of_string for
generic AST serialisation instead of the codec form Json.to_string
Json.t / Json.of_string Json.t which no longer exists (Json.t is a
type, not a value, in the new API).