download of json data working. need to wire in blue-button next. bug: requires two clicks to download