add a "addObj" method to JsonArray
fix javadoc