The best Java JSON library I used intensively before is https://github.com/FasterXML/jackson. It has all the JavaBeans <--> JSON mapping support. I wonder if we can leverage it.