Updated output format with csv headers.