added json output for blog front and permalink pages