Fix call to adminRole for JSON-RPC