code: def to_dict(self):
          
          vars = super(ModuleDoc, self).to_dict()
          vars['dependencies'] = self.dependencies
          vars['name'] = self.name
          try:
              vars['all_dependencies'] = self.all_dependencies[:]
          except AttributeError:
              vars['all_dependencies'] = []
          return vars
docs: Return this ModuleDoc as a dict.  In addition to `CommentDoc` defaults,
          this has:
  
              - **name**: The module name.
              - **dependencies**: A list of immediate dependencies.
              - **all_dependencies**: A list of all dependencies.