Fix results not returning the appropriate JSON.