split path argument away from dx new dataobject parser, to accommodate d...

...ifferent usage in dx upload

@kjlai please take a look