updated csv download function to accept default value (all fields => "")