Implement hash/equalTo for json type
Removed compareTo method as json type is not orderable