docs: def dereference(self, data, host=None):
          """Dereferences RefObjects stuck in the hierarchy. This is a bit
          of an ugly hack."""
          return self.deep_decode(self.deep_encode(data, host), deref=True)