rewrote get_restore_stats()

get_restore_stats() now uses struct, namedtuples and OrderedDict to parse the restore file.