ServiceInvoker is changed for JSON API.