updates for the json parsing