fix metadata export to csv conversion
Merge pull request #3069 from dimagi/metadata-export-fix

fix metadata export to csv conversion