Fix bug in named parameters to requests: Not specifying a parameter actually adds 'null' to the parameters map.