Insert records in mongo in python