Fix import of json in settings