Some extensions and utilities to pymongo (mongo python driver)