new route for search quary
retrieving JSON for reddit's REST api