A cookbook to import data into a mongodb database