The catalog expects cached JWKs to be stored as JSON (here). However, retrieved JWKs are stored using the .toString() method on the map object (here), causing the subsequent JSON parse to fail. This MR adjusts the persistence to store as JSON.
.toString()