Ensure attribute namespaces get passed through templates when toHTML() is called