The big JSON migration, part I.