Add DownloadAnalyticsJson class and test