Don’t store SplObjectStorage directly in cache

as it can’t be correctly unserialized