fixes #16153, handling of named parameters for json-rpc 2.0