added a helper function to parse human readable deterministic paths