LPS-47077 Exception with different locales on export/import

cc @matethurzo @danielkocsis