Added LRResult object to encapsulate results (instead of just Json).