Removing mandatory dependence with pymongo