Added json rendering as a default api option