Do not check characters while settings deserialization from xml.

There is no verification that settings can not contain invalid xml characters.
Closes #2450.