def nba_dict(data):
    """
    Takes data dictionary from many of the NBA API endpoints and reformats it
    in a more usable way.
    """
    headers = data['headers']
    content = data['data'][0]
    return {k: v for k, v in zip(headers, content)}