Work on normalizing JSON contests.
Normalizing contest file now generates perm_id's.