Ensure we dereference References to java objects when setProperty'ing.
Rev rephract.