added #getPathToKey and exposed #valueFromPath