using json output which is easier to parse than CSV