parse the query str and only pass on relevant params to ophan api