Add $collapse and $expectedArrayParams to Http::getQueryParams

Alternative option to getQueryParamCollapsed