Rather than using `str` you want to format the expression in the `InputForm` format. That is, using `item.format(evaluaton, "InputForm")`