python/csv: a quick and dirty conversion between object and dictionary implemented