Added __toString() in Json class