Removed obsolete csv transformation

- toCsv function is no longer needed