serializeItem

Renders a TrainSetItem (input plus its label) to a string.