rpc: support all data types as parameters