I can grab cookies using libcurl in this format by using a linked list:
#HttpOnly_.google.com TRUE / TRUE 1622778838 cookie-name value=foob