Rename and simplify helper function

Because this helper does not create Cheerio objects, `makeCheerioArray`
is somewhat misleading. By instead declaring it as a recursive function,
it can operate on arrays and other objects, which obviates the need to
wrap arguments in array literals before invoking.