use an array instead of a hash for testing pretty_inspect of objects
use to_str to check for and added #pretty_inspect to non-strings