class to convert the shop attributes and reviews attributes to a json file