Convert NBA data into JSON format