stupid backwards compatibility - rename :xml_attributes to __attributes__ - remove empty xml_attributes hashes