Something like this?
```python
        if isinstance(value, Promise):
            value = '\'{0}\''.format(force_str(value))
        if key == 'errors' or 'Bindings' in key:
            value = '\'{0}\''.format(value)
        bit = '{key}={value}'.format(key=key, value=value)
```