How do I reduce the keys of an item?

Suppose I have an item (json object) with about 50 keys.

I want to pass “as is” about 20 of those keys. Don’t want to enter into the “set” and specify field by field if they are strings or ints or whatsoever… Just “pass this, kill that”.

What’s the simplest way to go?

I think this community node will do what you want.

You can use a Function Item node to either remove keys you don’t want, or keep keys you do want. Take a look at this workflow: