I\'m trying to iterate through an object of components and render them with all the needed attributes. My current solution works fine for attributes which expect a string, a