trivial refactor to avoid temp var in xmlutil.to_dict()