More code to get JSON data from web --not working in the log.