Improve automatic conversions between dicts and ClassAds in python
bindings. #3892