refactor to be `report export` command