Add function to convert data to csv