xmlrpc: serialize enums as the string of the state
xmlrpc: made WifiDevice serializable