change get vhost to rpartition. change arguments from native json to json transcode.