I have the situation where I am fetching data using an AJAX request from a server and returning this in JSON form. I want to filter for the first 1000 results (specifically