Don't serialize words if the string is empty.