put header and body together to make a csv file

almost, still needs to account for multiple values and contianer data
update file extension and csv char escaping