Add --locations for parsed error locations, various tweaks
Replace --locations with --json
Add --trigger