attempt deserialization and raise exception if not a client