def METHOD_NAME(parsed_json):
    options = {}
    try:
        pl = parsed_json["payload"]
        options["committer_login"] = pl["all_commit_details"][0]["committer_login"]
        options["commit"] = pl["all_commit_details"][0]["commit"]
        options["build_num"] = pl["build_num"]
        options["build_url"] = pl["build_url"]
        options["outcome"] = pl["outcome"]
        steps = pl["steps"]
        for step in steps:
            actions = step["actions"][0]
            if actions["failed"]: # not None
                options["failed_step"] = step["name"]
        return options
    except:
        return None