reformats csv modes md table