Added json api to products