Fixed Maximun stack exceeded bug, it was a toJSON() of a model doing to much recursion