Fix __repr__ for non-string fields