Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes