finally able to parse json