dictionary printContent method now outputs strings in quotes