Ensure that Text is returned as a String object