Support JSON and HTML -at the same time-