PyMongo Data access snippet