JSON representation of the effect.

        :returns: a python dictionary, serializable as json of the effect
        :rtype: dict

def as_json(self):
        # type: () -> dict
        """JSON representation of the effect.

        :returns: a python dictionary, serializable as json of the effect
        :rtype: dict
        """
        self._json = dict(
            effect=self.effect,
            config=self._config
        )
        return self._json