deserialize more kind of stuffs

after having support for more type serialization, it was a good idea to
make this symetric by adding the same kind of deserialization, isn't it?