Modified returned object to reflect the format of the CSV output