more safety #edit_config
Does not save if invalid JSON given using #edit_config