check for adding and retrieving categories in json request issue #85