using array_push to replace $count to add item into array
Category - loading sub category and convert to json