Rename field in DeviceInfo from type to machine_type