renamed cookie to cookies in JSON