JBTM-1040 use the classes to determine equality rather than a recursive ...

...equals call