Use StringMap<T> to maintain haxe2 compatibility