I think this might be the preferred method: https://github.com/joyent/node-manta/blob/master/bin/mls#L169