Create well-formed XML from JSON with configurable naming.
The converter maps objects to nested elements, arrays to repeated elements and primitives to text nodes with proper XML escaping.