RESTWS-397 Handling hibernate proxy objects in delegates.

Removing reflection code.