Pass arrays to getTorrents() in deluge client functions and change getTorrents() ids array