code: def roster(team_id):
      
      data = mlbgame.data.get_roster(team_id)
      parsed = json.loads(data.read().decode('utf-8'))
      players = parsed['roster_40']['queryResults']['row']
      return {'players': players, 'team_id': team_id}
docs: Returns a dictionary of roster information for team id