Finished scraper functionality and output to JSON.