def fields
      return @fields if fields_registered?
      all_fields  = @session.connection.get_fields(@name)
      @fields     = all_fields["module_fields"].with_indifferent_access
      @link_fields= all_fields["link_fields"]
      handle_empty_arrays
      @fields_registered = true
      @fields
    end
def fields
      return @fields if fields_registered?
      all_fields  = @session.connection.get_fields(@name)
      @fields     = all_fields["module_fields"].with_indifferent_access
      @link_fields= all_fields["link_fields"]
      handle_empty_arrays
      @fields_registered = true
      @fields
    end
Returns the fields associated with the module