practising object cookie serialization