Convert CSV rows and headers into a downloadable JSON array locally.
CSV is a row-based, delimiter-separated table format. JSON is a structured text format that can represent arrays of named objects.
Text input is read as UTF-8; numeric cells are intentionally kept as strings to prevent leading-zero data loss.
They remain strings to protect values such as ZIP codes and account identifiers.
The parser detects comma, semicolon, or tab separators from the header row.