[NUI] refactoring TextMapHelper class