Fixed missing $results for json data