REST: fixed bug in hibernate mapping (really nice, many thanks to implementor for delightful fun of searching for a bug).