upgraded json gem due to security exploit
implemented warning on save-and-done when not all def parts were displayed