The `segwit` field returned as part of `decodescript` has a type `DecodeScriptSegwit` which has a public key and addresses but no associated model. Found when adding the missing field `address` in v22.