Minor code beautify
Hack to resolve conflicts between bson.ObjectId and pymongo.objectid.ObjectId