code: def to_dict(self, minimal=False):
  
          
  
          data = super(Parameter, self).to_dict()
  
          # Add wether is a normalization or not
          data['is_normalization'] = self._is_normalization
  
          if minimal:
  
              # No need to add anything
              pass
  
          else:
  
              # In the complete representation we output everything is needed to re-build the object
  
              if self.has_auxiliary_variable():
  
                  # Store the function and the auxiliary variable
  
                  data['value'] = 'f(%s)' % self._aux_variable['variable']._get_path()
  
                  aux_variable_law_data = collections.OrderedDict()
                  aux_variable_law_data[ self._aux_variable['law'].name ] = self._aux_variable['law'].to_dict()
  
                  data['law'] = aux_variable_law_data
  
              # delta and free are attributes of Parameter, but not of ParameterBase
  
              data['delta'] = self._to_python_type(self._delta)
              data['free'] = self.free
  
              if self.has_prior():
  
                  data['prior'] = {self.prior.name: self.prior.to_dict()}
  
          return data
docs: Returns the representation for serialization