def _get_blogname_from_payload(post_payload):
    """retrieves payload --> broken_blog_name, or payload --> blog --> name"""
    if 'broken_blog_name' in post_payload:
        return post_payload['broken_blog_name']
    return post_payload['blog']['name']