ERT-781 added function to write all keywords to cvs file