add device data struct
add index, filter unwanted fields