Ensure that arrays are parsed correctly in Piwik.

Array arguments are sent as strings, so we must be sure that we correctly urlencode them.