generic parse, cookies