fixing the --json parameter handeling in defaults and adding the missing pretty table printer as default