If an object does not have .to_json, we no longer try to call it