JSON prediction and recommendation engine