From the following JSON response, want to fetch the value ref_id of both the type (now here the catch is the type place is dynamic), how t
ref_id
type