One of the elements in the API requires dynamic rendering, and its style is provided as follows:
"elementStyle": {
"Width": "100",
"Height": "100",
"ThemeSize": "M",
"TopMargin": "0",
"LeftMargin": "0",
"Background" : "#EEEEE",
font : "roboto"
},
What would be the most effective method to map keys like Background to background-color, font to font-family, and Topmargin to margin-top?