Added handler for dates, but still writing results seperately, not one document