add ignoring of non-thunkable values when yielding an object

so primitives etc are not clobbered