Help with logic filtering of message

I can't see:

a key/value object ?

That's the part where I am stuck.

Preforming the logic.