chore(dom): toString for debugging