get rid of deprecated getParams and renderJSON method to ease transition to built in appframework