send json file for download after units export