json parsing partial implementation