added a simple controller which spits out params in json