adding in support for json format requests on products