Modify parse script and output JSON instead of CSV