code: function getSections($) {
      // Create a sections object to return.
      var sections = {};
  
      // Iterate through each Fieldset ("Section").
      $('fieldset').each(function() {
        var $fieldset           = $(this),
            sectionName         = getSectionNameFromFieldset($, $fieldset),
            sectionSubsections  = getSectionSubsectionsFromFieldset($, $fieldset);
  
        sections[sectionName] = sectionSubsections;
      });
  
      return sections;
    }
docs: Extract a structured Javascript object from the given $ objects, which
  represents a DOM tree parsed by Cheerio.