Simple *function* for retrieving deep object properties without getting "Cannot read property 'X' of undefined"