Adding JSON hashing to figure out if objects match