fetch json data from server
wip: parsing nested json