cli update for json output support