Fixed bug with  empty ubersmith response, also configured getDevicebyHostname to fallback to scanning the full list and getting device by id