604 add xls export to data endpoint

closes #604
I have consulted with @ukanga and I am refactoring this to generate a new export if the 'export.filename' is None