Parse CSV (Comma Separated Values) to Javascript arrays or dictionaries