Refactor handling of pretty parameter.
Refactor handling of pretty parameter.


Former-commit-id: 04093318dd591d642854485a97109855275c8596
EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger