JSON from Rest API map headers to replace key in rows

I have an API response which has the format below

I would like to display the information from "headerIdToValue" in "rows" in a table. I can extract this information using a transformer. However, the key is 24 character ID.

"headers" contains the decoder for the keys, is there a way to replace the 24 character ID with the "name" from "headers"?