Migrated the json editor to angular-jsoneditor (old code commented out)