Fix operator= for Json objects.