now handling correctly query parameters that require or admit an array as value