Setting metadata properties dynamically
I'm working on a fusion scenario where I am setting the metadata properties to my custom component dynamically. Below is the high level structure of a single collection of JSON data.

I need to get properties from myContentAttributes collection and create a structure like this:
I am able to get the property names by iterating through keys of myContentAttributes but not sure how to get the values of corresponding properties.
Thank you in advance!