Alright, thanks to @JanErikG and @aagot for pointing out the extra commas in my file :D Removing them solved the issue. I also renamed the file to chapters.json. @Castopod does not say anything about the file needing a specific name, but I did it just in case, so I don't know if that was a part of the fix or not.
Thanks for the help! :)