converted device_id to json type string