Fix to/from string operation for object defined in array.