now dumps the data to json once scraped