Put tags into JSON file