604 add xls export to data endpoint

closes #604
OK cool, it's good to merge after this is addressed and rebased