Returns a JSON serializable represenation of a ``Smi`` class
        instance. Use :func:`maspy.core.Sai._fromJSON()` to generate a new
        ``Smi`` instance from the return value.

        :returns: a JSON serializable python object

def _reprJSON(self):
        """Returns a JSON serializable represenation of a ``Smi`` class
        instance. Use :func:`maspy.core.Sai._fromJSON()` to generate a new
        ``Smi`` instance from the return value.

        :returns: a JSON serializable python object
        """
        return {'__Smi__': (self.id, self.specfile, self.attributes,
                            self.params, self.scanListParams, self.scanList,
                            self.precursorList, self.productList
                            )
                }