worked on json parsing