Changes to GET /api/packages/tree

get/api/packages/tree