Restructure/prepare data about trees for output.

def prepare(data):
    """Restructure/prepare data about trees for output."""
    sha = data.get("sha")
    tree = data.get("tree")
    return {"sha": sha, "tree": tree}