Fixed array / string ThangState key serialization conflicts. Fixed #333.