object: convert parse_object* to take struct object_id