Create a dictionary serialization for a model.

        Parameters
        ----------
        model : ModelHandle

        Returns
        -------
        dict
            Dictionary serialization for a model

def to_dict(self, model):
        """Create a dictionary serialization for a model.

        Parameters
        ----------
        model : ModelHandle

        Returns
        -------
        dict
            Dictionary serialization for a model
        """
        # Get the basic Json object from the super class
        obj = super(ModelRegistry, self).to_dict(model)
        # Add model parameter
        obj['parameters'] = [
            para.to_dict() for para in model.parameters
        ]
        obj['outputs'] = model.outputs.to_dict()
        obj['connector'] = model.connector
        return obj