managed object transmogrification hell