Fix nested quotes in ndt.type repr