adjust mysqltimeserie for CSV export