Hibernate util: method to unproxy entity