Constrain traversal to objects
Remove old imports logic
Remove lodash dependency
Simplified import resolution