better date parsing, put data in a mongodb collection