debug pool: make stats a dict