why do you have for the key different names for every level? you could take the same structure and overcome the problem of different key names.
what do you like to compare? another nested object? a single one inside?