XML SAX parser will create hashes for empty tags

This is the behavior of the non SAX version. Changed to make it work
the same way.