Given a JSONML fragment, produce a structured tree, imitating the DOM