worked on more json parsing for api