Add methods to Java Json API