Refactor parseCookieFragment, add emptyValue property