standardise CSV formatting for arduino and python