--json output format fixes for all the ad commands