the root object to read from
the path root to be prefixed to the returned path when calling getPath. Useful for buffer.