bugs in JSON + pools in pools