Catch the case when objects can't be stringified