Add Json processing to website

Right now we assume HTML in website, but we should also accept json and XML data retrieval.