Cleanup the object created from the hg log xml