move IMap to haxe.Constraints in order to avoid circular references
keep Map.IMap typedef for now