Parts API: Shorten /category/names/.

Use a list comprehension to add all categories in
one line.