Removed compareTo method as json type is not orderable