pool: Fixed buffer overrun in zxid_pool_to_json().