RESTWS-397 Handling hibernate proxy objects in delegates