Rewrite gem function to use Cheerio instead of XML2JS