gui json parsing