factor_to_char: Converts Factors to Characters in an Object
Description
Converts factors to characters in an object. Leaves
non-character elements untouched.Details
We iterate through all elements in the object (e.g. if it
is a list) and convert anything that is a factor into a
character.