From the little experiences I've had so far, it seems that the `json-parser` package will throw an error when it encounters a trailing comma? According to https://json5.org/, trailing commas are allowed.