converting hands saved in xml format