this is inconvenient if in the future we add other cache backends that doesn't depend on mongodb, as it will trigger the import of pymongo.