LPS-47196 add localization test and refactor

Test that renderer output follows locale conventions and refactor.
LPS-47196 format numbers according to locale in DDM edit views
LPS-46932 Fixing DDMFormXSDSerializerTest
LPS-46873 SF
LPS-47272 fix nullptr for null param map