[issue #11] Implement compare operations for objects and arrays