add support for adding sensor metadata to devices and marking up messages with this