[sr-dev] [kamailio/kamailio] Adapt some core rpc command to json (#1185)