maybe rename to ensureString or something like it?