Fix json rendering of front page