Convert hosts to use jsonrpc format