Remove typecheck for payload params

Require that if a payload object is set, it has to be
of type ``Payload``.  Updated the cli test that was not
obeying this contract.