Represent effect as JSON dict.

def as_json(self):
        # type: () -> dict
        """Represent effect as JSON dict."""
        self._config['applyCss'] = self.applyCss
        self._json['config'] = self._config
        return self._json