get value of nested obj at a given dot-path