added getDownloadLink with JSON