created category list function
created json resolver for all data