fix specs, coerce data into string (i.e. handle nil case)