Convert XML documents or snippets into cleanly structured JSON objects. Supports attributes, nested elements, and automatic data type recognition.