Add json render for posts index using jbuilder