Renamed parent to parentId and added childId to get categories response