Turn getpeerlist/wantpeers into a list of infohases/roothashes