fill in default values if missing from rpc calls to an idl-built server (thanks Elena Ceseracciu)