Convert dict key to string to prevent an error (on rigel).