Updating scrape script, outputs to JSON object (not yet checked for compatibility with D3 in terms of format)