Closes issue #43 - early stringification of unrecognised scalar values; fixed badly written test revealed by this change.