code: def get_data(model, instance_id, kind=''):
      
      instance = get_instance(model, instance_id)
  
      if not instance:
          return
  
      return ins2dict(instance, kind)
docs: Get instance data by id.
  
      :param model: a string, model name in rio.models
      :param id: an integer, instance id.
      :param kind: a string specified which kind of dict tranformer should be called.
      :return: data.