Set content-type to application/csv for csv endpoint