added index/type/id that identify unique doc to CSV output