updated parsing json and scraping