add object option to csv writer