Fixed TorrentReactor class

The output from TorrentReactor was not matching the structure in this file (perhaps a recent change?), so the script was keeping returning a generic error.