I'd love to rename that cursor->resouce too, its totally confusing name for the mongoclient :)

I think those two changes should probably be a seperate pr as we fetch the mongoclient in other places not touched by this pr