Converts JwkSet into a JSON tree.
Map<String, Object?> toJson() { return {'keys': keys.map((e) => e.toJson()).toList()}; }