updated category list web api method to return response instead of string