Fix confusion between terse and json output