Use json format to store the ids