Change config to JSON