making content compatible with values that subclass the dict type