HotFix: Sensors save to xml file without writing unset optional attributes to xml node