Add category and json api