Johnzon is buggy :) And the JSON produced by several popular REST APIs in the real world are also buggy. This patch provides a clean way to deal with said bugs when the "correct" way fails.
Also, as mentioned, Johnzon cannot be replaced. If you sent a handler for JSON on the JAX-RS client, TomEE *always* picks Johnzon. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html