This `if` seems really ugly. It seems like it would be nicer to make `self.client` handle these optional arguments directly and then this whole function just becomes:
```
return json.loads(self.client('queue.config', self.name, key, val))
```