Refactor JSONStreamingResponse
Handle search params correctly for streaming

The streaming download now respects page and pagesize