code: public <T extends Variable> Object deserialize(AgentClassWrapper wrapper, 
              List<T> variables) {
          return deserialize(wrapper, wrapper.newInstance(), variables);
      }
docs: Deserialize list of smartfox variables to agent object
  
  @param <T> the variable type
  @param wrapper structure of agent class
  @param variables list of smartfox variables
  @return a agent object