Don't add null parameters to REST dispatch payload

Closes #545