Fixing incorrect types, and also trying to handle lists in rendercsv