Fix the toString() method in JsonModel