use a hash to pass getDeviceInfo() parameters
isEnabled() must continue if target is server
create the REST/JSON client