Removes redundant xml format node