Make sure empty cart is pickleable

Fix issue #141