implemented json version of blog front page and single post page