Handle more heterogeneous json equality