LPS-39750 Optimize MapUtil to avoid unnecessary String conversion