improve - use array represents args (types)
new - unit test for RpcEncoder