decode stash, problems with array of array convert to bytes