[ASFXSWB319] Refactor query-string parsing into separate method