Don't break when stringifying item fields

Broken by 2f8f18c Currently breaks RDF import.

It's either this, or use `typeof val` in the warning message