Self-referential structure init on restore

Make sure the cart and cart item class structures point back to themselves on deserializaion.