* clean up how qop.py produces formatted return values from python dicts * implement `--json` global option to return JSON instead of formatted output.