Support download of data as csv fixes #78