Convert haxelib.xml to haxelib.json, for Haxe 3.