Prettier output, and a JSON output hook