updates scraper script to output json