Pretty-print the JSON + fix compilation