Document object.getPath() and allow passing in either an array or a dotted string