added string serialization for device information