SR::Core::State: change the XML reformatting. Now its possible to have numbers and - in the attribute name.