Added a potential deepEquals utility method