A little function to figure out where a key is in complex object trees