Better clear() on AbstractJsonArray; using internal methods to cleaner
handle listeners