ccc: added initial JSON support to list sub-command