default response is json for /api/categories