(bluefox) stringify states if type="object"