Fixes a bug where batched API calls bleed params.

When API calls are batched, the parameters bleed into other other calls. This fixes the bug by ensuring that each call gets its own parameters object.
Nitpick: Since this is in an open source repo, maybe referencing a Jira ticket could be confusing.