CSV formatting improvements