Converts arbitrary JSON to CSV with optional multi-line nested titles.