I'd prefer to see the following style:
```python
...
if len(self.youtube_configuration) > 0:
  self._configure_youtube_stub_server(self.youtube_configuration)
...
def _configure_youtube_stub_server(self, config):
  ...
  config_data = {param: json.dumps(value) for param, value in config.items()}
  ...
```
What do you think?