Silly script to generate json from xml.