switched to streaming insert method for mongo db
added text sanitation to the insert script