For anything internal-ish you can just tack .json after an URL. Also works for those pesky post ID’s.
.json