use generic deserialization in XmlSettings
Remove xml serializer
thread safe cache