Not writing JSON file when importing an account.