added function unserializeArrayRecursive(array)