Update array_to_params()

wrapping subparam's with urlencode