Fix: Always export <metadata> in stats.xml