Calling #to_s on a field with a nil value returns an empty string instead of nil

Fixes #194