Remove redundant JsonObject.compact method