csv metadata: reorganize dict