Adapted uploader to ndex-rest