fix to csv string for empty arrays