diff -r 65e460690139 -r df15d194a134 entity.py --- a/entity.py Tue Sep 27 18:46:36 2011 +0200 +++ b/entity.py Tue Sep 27 18:47:11 2011 +0200 @@ -457,7 +457,7 @@ """custom json dumps hook to dump the entity's eid which is not part of dict structure itself """ - dumpable = dict(self) + dumpable = self.cw_attr_cache.copy() dumpable['eid'] = self.eid return dumpable