Fix for hostname and Serial number

Merging fixes for hostname as well as a handler for Rundeck issues where the serial number is a pure int but cast as a string.