Commit 352a918b changed the format of the API response for /api/category/list to match that of /api/category/listonlyadmin, introducing a failure in the Django unit tests.
This MR fixes it.