replace pymongo-based Cursor.__init__