code: def prepare(data):
      
      result = {}
      result["mode"] = data.get("mode")
      result["path"] = data.get("path")
      result["type"] = data.get("type")
      result["sha"] = data.get("sha")
      return result
docs: Restructure/prepare data about a blob for output.