update to the way I parse the json