Add support for front-end export to CSV