change toString method to use JsonUtil