Fix dict2xml so it doesn't return an empty element for a empty dict.