Check for non-serializable objects before stringily messages