Fix attributes generation so that Savon produces the correct XML