the_idx -> the_id in get_json_by_id_list