Change config to json