Optimize Dict in List to CSV