Support JSON dictionary parameters

Avoid a logging error caused by the expectation that parameters are passed in as arrays as opposed to dictionaries.