When parameters are already nested, don't re-nest

The param map can have nested contents if something like wrap-json-params runs before wrap-nested-params. This causes odd behavior.

This commit changes param-pairs so that already-nested values are not re-nested in weird ways.