Warn when --json is used but the necessary modules are not installed