fix non working source download, port to json