Check parameter value types before invoking RPC, and attempt to coerce values if the types don't match