pub fn decode_kind(val: &Value) -> Result<Kind, CodecError>
Decode a serde_json Value to a Kind using v3 format.