Based on [this](https://github.com/microsoft/CCF/pull/6680#discussion_r1873006358) discussion in #6680 We may either rewrite or fulfil the existing JWK code in `jwk.h` to be able to easily parse and work with different JWK instances.