stupid backwards compatibility rename :xml_attributes to attributes remove empty xml_attributes hashes