'Picklize our current entities.
Returns a hash: { id -> pickled entitiy }'

def serialize(self):

    id2entity = {}
    for id in self._entities:
        entity = self._entities[id]
        id2entity[id] = entity.serialize()
    return id2entity
