Add the categories to the return object.