medal data to json