Add support for deserializing tuples