We use the jettison library to format JSON, and I think we should consider a different library. Its default behavior is to escape slashes with a backslash (/), making output more difficult. This can be configured in output, though I know there are places where it would refuse to do this. Also, the toString method cannot be configured, making debugging more difficult.
Jackson is suggested by ChatGPT. I had a review of libraries years ago and I can't remember why I had to use jettison. Some libraries always sort the tags alphabetically, which is undesirable.