add json support to blog and posts