Scripts for conversion of mongo data to csv and vice versa (in python and bash)