monitor_toCSV function

Convert monitor data as CSV