Refactor MONGO_METHOD calls in MongoClient::listDBs()