The arraignment shall only be made in indictments for felonies and misdemeanors and may be dispensed with by the court, with the defendant's consent.