Added CSV format support
- out_format can be set to 'csv'
- csv_col_sep can be set, ie. '|'
- csv_sort_cols (bool) will sort based on hash keys