Fix bug of format.json