def METHOD_NAME():
    """Load in existing JSON (including any new MPs already set)"""
    j = json.load(open(JSON))
    persons = {p['id']: p for p in j['persons']}
    posts = {p['id']: p for p in j['posts']}
    posts_by_name = {p['area']['name']: p for p in j['posts'] if p['organization_id'] == 'scottish-parliament' and 'end_date' not in p}
    assert len(posts_by_name) == 81
    orgs = {o['name']: o['id'] for o in j['organizations']}
    max_person_id = max(int(p['id'].replace('uk.org.publicwhip/person/','')) for p in j['persons'])
    existing = {}
    max_mship_id = 0
    mships = (m for m in j['memberships'] if 'post_id' in m and posts[m['post_id']]['organization_id'] == 'scottish-parliament')
    for mship in mships:
        max_mship_id = max(max_mship_id, int(mship['id'].replace('uk.org.publicwhip/member/','')))
        if 'end_date' in mship:
            continue  # Not a new MP
        cons = posts[mship['post_id']]['area']['name']
        assert cons not in existing
        existing[cons] = mship
    return {
        'json': j,
        'persons': persons,
        'posts_by_name': posts_by_name,
        'orgs': orgs,
        'max_person_id': max_person_id,
        'max_mship_id': max_mship_id,
        'existing': existing,
    }