download json file of data if browser supports blob and createObjectUrl