Fix Archive#toJson() method