Merge #8775: RPC refactoring: Access wallet using new GetWalletForJSONRPCRequest