Back porting addition of CSV formatting for field element from 3.1, so
it handles things like the number format.