Could you rephrase the question? Are you saying that you want html returned instead of json? If you need to only have HTML, you will need some layer between Target and your application. Express works really well and gives you a middle tier to parse the json and only return back the html response.