JwkSerializer
Polymorphic serializer for Jwk values, dispatching to the appropriate concrete serializer based on the kty field in the JSON object.
Supports "RSA" (JwkRsaSerializer), "EC" (JwkEcSerializer), and "oct" (JwkOctSerializer) key types. Throws co.touchlab.kjwt.exception.MalformedJwkException if kty is absent, and co.touchlab.kjwt.exception.UnsupportedJwtException if the key type is not recognised.