tools: Add lookup_dump