Haxe implementation of a .tmx Tiled map reader