WIP - Helper to convert HTML table to CSV - handling colspan, rowspan, headers, etc