added json parsing from server data