Switched unserialize to recursive function. Working arbitrary depth test for unserialize.