myObj = {}
myObj['demo'] = 'Some demo data'
thebytes = pickle.dumps(myObj)
coll.insert({'bin-data': Binary(thebytes)})
Is there a way to store python objects directly in mongoDB without serializing them