use StringBuilder instad of String.format(...) for better performance
StAXON JSR 353 (javax.json) streaming backend for better performance