fixed JsonMapping hashCode and equals