cJSON output works.
JSON output enabled by default for `wmctrl -l`
Now need to restore old output and enable JSON output from a flag.