Format code in the JSON format