New functionallity. Convert array to CSV