Rework the ParseJsonBuffer function to get one chunk at a time.
Use the Database directly from HttpHandler::GetEntries.

And also CTUDPDNSServer::LeafHash, for completeness.