allow uploading multiple files, JSON support