Added a 'to_str()' member function for devices and tested. it does not work. :/