Checked for values populated in ds and it seems proper. Instead of type_name type_id is used as key in rest of the data structures