return JSON for results if filtered results are empty