fix data desugaring to use common base objects for shared and with, fixes #94