don't modify json-mode-map before it is defined

json-mode failed to load because the beautify key was being assigned to
nonexistent keymap