Golang to c json rpc communication