Cookies not reading

I am trying to read all cookies on my localhost.
But only able to read 2 of them.

[i]
Cookie coo = VaadinService.getCurrentRequest().getCookies();

    System.out.println(coo.length);
    for(Cookie c : coo) {
            layout.addComponent(new Label(c.getValue() ));
    }

[/i]

Not sure what I am doing wrong.
I observered that vaadin was able to read cookies only if they contained a singular value like a number.
My cookies contain JSON strings and arrays.
How do I get around this?