implement all of the destructive methods for JsonArray