include query params in pagination urls + pretty query paramter to pretty-print json