Convert XML documents to JSON format with full support for attributes, namespaces, CDATA, and nested elements. Clean, formatted output.