Casting objects to strings for use as array keys.