add device_type in output json