working on parsing JS vars to CSV for e.g. Omeka import