Item12952: fix saving array and hash values