Convert XML to JSON or JSON to XML. Handles attributes, nested elements, and preserves data structure.