ROBE-218 refactoring and csv exporter ParseDate and test fix