cyclic json serialization working demo