It would be useful to add a `--pretty` option to let the user decide if a json file should be dumped as pretty or not.