Fix nested objects.