adding format and updating to Haxe 3.1.3