Export a list of objects to Excel (xlsx), HTML table or CSV