Recursively Convert a JSON Object into Nested HTML Elements
Given a JSON object that represents a tree of HTML nodes (with keys like tag, attributes, children, and text), write a function that recursively constructs and returns the corresponding DOM structure or HTML string. This tests your understanding of recursive tree traversal, DOM APIs, and how frameworks like React internally render Virtual DOM trees into real DOM nodes.