parsing of json is implemented