Print analytics status in json if the global json option is specified