pprint.pformat output dicts in ui.commandline.