adds capability to deserialize objects

hey, i saw that the project isn't active for more than 2 years, thought that i should contribute since there isn't any solution to deserialize php objects at this moment