[WIP] Changes the CSV dump to simply the output

Now generates a datasets.csv and resources.csv which are put into the zip file. Each row in resources contains the ID (short-name) of the datasets it belongs to.