Separate CSV import parsing from database updates
Simple new format JSON export
broken code, will fix soon