Merge: #19449: Handle non-string keys when generating 'fieldnames' error.