Refactoring write_csv method
Refactoring to call yaml2csv
Refactoring yaml2csv. CSV output from Java modules working