queries controller using json url params to redirect to wp index.
Merge pull request #109 from finnlabs/fix/use-json-url-query-params