fix issue where wrapping an object did not expose dynamic properties as ...

...attributes