Normalize records and delimiters before turning them into rows
CSV fields can contain commas, quotes, and line breaks when correctly quoted. JSON arrays may contain missing keys, nested objects, or values with different types. Analyze the input, verify the selected delimiter and header source, and decide how nested or absent values should appear rather than accepting a misaligned preview.